<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        ul li {
            list-style: none;
            letter-spacing: 0.1em;
            font-size: 20px;
            line-height: 80px;
            color: pink;
        }

        .top {
            position: fixed;
            right: 0;
            bottom: 10%;
        }

        .top img {
            width: 100px;
            cursor: pointer;
        }
    </style>
</head>

<body>
    <div>
        <ul>
            <li>时间 </li>
            <li>2022/10/19 18:29:08 </li>
            <li>2022/10/19 18:29:08 </li>
            <li>2022/10/19 18:29:08 </li>
            <li>2022/10/19 18:29:08 </li>
            <li>2022/10/19 18:29:08 </li>
            <li>2022/10/19 18:29:08 </li>
            <li>2022/10/19 18:29:08 </li>
            <li>2022/10/19 18:29:08 </li>
            <li>2022/10/19 18:29:08 </li>
            <li>2022/10/19 18:29:08 </li>
            <li>2022/10/19 18:29:08 </li>
            <li>2022/10/19 18:29:08 </li>
            <li>2022/10/19 18:29:08 </li>
            <li>2022/10/19 18:29:08 </li>
            <li>2022/10/19 18:29:08 </li>
            <li>2022/10/19 18:29:08 </li>
            <li>2022/10/19 18:29:08 </li>
            <li>2022/10/19 18:29:08 </li>
            <li>2022/10/19 18:29:08 </li>
            <li>2022/10/19 18:29:08 </li>
            <li>2022/10/19 18:29:08 </li>
            <li>2022/10/19 18:29:08 </li>
            <li>2022/10/19 18:29:08 </li>
            <li>2022/10/19 18:29:08 </li>
            <li>2022/10/19 18:29:08 </li>
            <li>2022/10/19 18:29:08 </li>
            <li>2022/10/19 18:29:08 </li>
            <li>2022/10/19 18:29:08 </li>
            <li>2022/10/19 18:29:08 </li>
        </ul>
        <div class="top">
            <img src="img/top.jpg" alt="">
        </div>
    </div>
</body>
<script>
    document.querySelector('img').onclick = function () {
        scrollTo(0, 0);
    }
</script>

</html>